<!--
  To change this template, choose Tools | Templates
  and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
  <head>
    <meta name="layout" content="main"/>
    <title>Your Purchases</title>
  </head>
  <body>
          <div id="contentText">
      <h2><span>Your</span>Purchases</h2>
    </div>
    <div id="wrap90">
    <table>
      <th>Receipt number</th>
      <th>Amount</th>
      <th>Details</th>
  <g:each var="cart" in="${list}">
    <tr>
    <td>${cart.id}</td>
    <td>${cart.amount}</td>
    
    <td>
    
    <g:link action="viewTransactions" id="${cart.id}">View details here</g:link>
  </td>
  </tr>
  </g:each>
    </table></div>
</body>
</html>
